package com.svse.designPattern.structure.decorator.decorator;

import com.svse.designPattern.structure.decorator.component.Component;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/2 8:28
 */
abstract public class Decorator {
    private Component component;

    public Decorator(Component component) {
        this.component = component;
    }
    public void operation(){
        component.operation();
    }
}
